// 2010-03-03 - M. Caputo

#ifndef CVERTEX_H
#define CVERTEX_H

#include <QColor>

class CVertex
{

public:
	CVertex();
	CVertex(float x, float y, float z);

	const float* vertex() const;
	float x() const;
	float y() const;
	float z() const;
	void addColor(const QColor & color);
	bool hasColor() const;
	const QColor & color() const;

private:
	QColor objectColor;
	bool colored;
	float vertexData[3];

};

#endif
